package com.ling.pl.autoproject.builder.exporter;

import com.ling.pl.autoproject.builder.model.OneToManyPojo;

import java.io.File;

public class MVCExporter extends OneToManyExporter {
    public MVCExporter(String baseDir, OneToManyPojo oneToManyPojo,
                       String template, String result) {
        super(baseDir, oneToManyPojo, template, result);
    }

    public MVCExporter(String baseDir, OneToManyPojo oneToManyPojo,
                       String template, String result, boolean overwrite) {
        super(baseDir, oneToManyPojo, template, result, overwrite);
    }

    protected void processResultFolder() {
        destination_str = rootdir_str + result_str;
        log.info(destination_str);
        destination = new File(destination_str);
        ensureExistence(destination);
    }
}
